﻿using System.Diagnostics;
using LanqiQAwebapi.Models;
using LanqiQAwebapi.Dto;

namespace LanqiQAwebapi.Interface
{
    public interface IUserServer
    {
        string UserLoginByUser(UserLoginByUser userLoginByUser);
        string UserLoginByphone(LoginByPhone loginByPhone);
        bool Userhave(User user);
        bool Edituser(User user);

        User GetUser(User user);

        User GetUserName(string id);

        List<User> GetUsers();

        string SendPhoneMMessageCode(UserLoginByphone userLoginByphone);

    }
}
